package com.sky.mapper;

import com.sky.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;

@Mapper
public interface UserMapper {
    /*根据openid查询用户*/
    public User getByOpenId(String openid);

    public void insert(User user);

    public User getById(Long userId);

    public Integer countByMap(HashMap<Object, Object> conditionMap);
}
